//
//  NSString+Ybr.h
//  wifibox
//
//  Created by os X 10.9 on 15-1-15.
//  Copyright (c) 2015年 yinbaner. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (Ybr)
+(BOOL) isEmpty:(NSString *) content;
+(NSString *) UTFToGB2312:(NSString *) utf8Str;
+(int) MyHashCode:(NSString *) str;
-(id)JSONValue;
/**
 *  返回字符串所占用的尺寸
 *
 *  @param font    字体
 *  @param maxSize 最大尺寸
 */
- (CGSize)sizeWithFont:(UIFont *)font maxSize:(CGSize)maxSize;

@end
